<template>
    <header>
        <span v-if="home">person</span>
        <span v-if="back">back</span>
        <span>{{title}}</span>
        <span v-if="home">搜索</span>
        <span v-if="back">评论</span>
    </header>
</template>
<script>
export default {
    props:{
        title:{
            type:String,
            default:'标题'
        },
        home:{
            type:Boolean,
            default:false
        },
        back:{
            type:Boolean,
            default:false
        }
    }
}
</script>
